<template>
    <el-main>
        <el-main class="ep-body">
             <epl-top-bar-double-other   companyType="COMPANY_AAB000_EXACT" cpTagType="COMPANY_SIMPLE_GROUP" personType="PERSON_AAC031_1" psTagType="PERSON_AAB001_GROUP"
                                :datas="{formData: form,tableData:tableData,panel: panel}">
            </epl-top-bar-double-other>
            <epl-userMessage v-show="this.$store.getters.tag" :dataType="this.$store.getters.tag == '1' ? 'person':'company'" :functionId="this.$store.getters.tag == '1' ? 'person':'company'" :panel="panel" idCount="2"  >
               
            </epl-userMessage>
            <!-- <epl-userMessage dataType="company" functionId="company" :panel="panel" idCount="2" v-show="this.$store.getters.tag == '2'">
               
            </epl-userMessage> -->
           
            <el-card class="ep-card">
               
                <el-form :model="form" :rules="rules" ref="form">
                    <el-row :gutter="10">
                                <ep-input colspan="8" label="人员查询码" name="aac999" :property="form.aac999"
                                          placeholder="请输入人员查询码" p="H"
                                          :datas="{formData: form}"></ep-input>
                               
                                         
                                <ep-input colspan="8" label="社会保障号" name="aac002" :property="form.aac002"
                                          placeholder="请输入社会保障号" p="H"
                                          :datas="{formData: form}"></ep-input>
                        </el-row>
                        <el-row :gutter="10">
                               <ep-select colspan="6" label="户口性质"  name="aac009" :property="form.aac009"
                                           placeholder="请输入户口性质" codetype="AAC009" p="H" 
                                           :datas="{formData:form}"></ep-select>
                                 <ep-input colspan="6" label="行政区划" name="aab301" :property="form.aab301"
                                          placeholder="请输入行政区划" p="H"
                                          :datas="{formData:form}"></ep-input>
                            </el-row>
                        <el-row :gutter="10">
                               <ep-input colspan="6" label="征收方式" name="aab033" :property="form.aab033"
                                          placeholder="请输入征收方式" p="H"
                                          :datas="{formData:form}"></ep-input>
                                <ep-date colspan="6" label="补收时间 " name="aae030" :property="form.aae030" p="H" 
                                :datas="{formData: form}"></ep-date >
                               
                            </el-row>
                            
                    <el-row>
                        <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013"
                                p="H" :datas="{formData: form}"></ep-textarea>
                    </el-row>                
                     
                </el-form>
            </el-card>
            <el-card class="ep-card">
                <ep-title>一次性征收信息</ep-title>
                <el-row>
                    <ep-table :data="tableData" border style="width: 100%;" rowDbClick >
                        <ep-table-column editor="index" width="50"  header="序号">
                                        </ep-table-column>
                        <ep-table-column editor="checkbox" name="checked" header="选择" width="55"></ep-table-column>                            
                        <ep-table-column editor="text" name="aae030" header="姓名" ></ep-table-column>  
                        <ep-table-column sortable editor="text" edited  name="aaa115" header="社会保障号"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae079" header="离退休类型"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae078" header="险种类型"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae180" header="缴费类型"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae002" header="费款所属期"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae003" header="缴费金额"></ep-table-column>
                        <ep-table-column sortable editor="text" edited  name="aae058" header="处理结果"></ep-table-column>
                    </ep-table>

                </el-row>
                  <div style="margin: 15px 0;"></div>
                <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save" @formValidate="formValidate" :validate="['form']"
                                       :datas="{formData: form,tableData:tableData,panel:panel}" name="保存"></ep-saveButton>
                </el-row>
            </el-card>
        </el-main>
    </el-main>
</template>


<script src="../js/RetiredPersonnelCollectionOnceJS.js"></script>
